package meconsea.webcoll.sys.dao;

import java.util.List;

import meconsea.webcoll.base.dao.BaseDAO;
import meconsea.webcoll.base.dao.IDAO;
import meconsea.webcoll.sys.entity.SysUser;

import com.google.inject.name.Named;
import com.wideplay.warp.persist.dao.Finder;
import com.wideplay.warp.persist.dao.FirstResult;
import com.wideplay.warp.persist.dao.MaxResults;

public class SysUserDao extends BaseDAO<SysUser, String> implements IDAO<SysUser, String> {
	public SysUserDao(){
		super(SysUser.class);
	}
	@Finder(namedQuery=SysUser.FIND_LOGINNAME_USER)
	public SysUser findSULoginName(@Named("loginName") String loginName){
		return null;
	}
	
	@Finder(namedQuery=SysUser.FIND_USER_ALL)
	public List<SysUser> findSUAll(@FirstResult int first,@MaxResults int max){
		return null;
	}
}
